<?php $this->pageTitle = 'New Receipt'; ?>
<?php Yii::app()->publishAndRegisterScriptFile(Yii::app()->basePath . '/javascripts/app.receipt.update.js'); ?>
<?php
$this->breadcrumbs = array(
	'Receipts' => array('/receipt/index'),
	'New Receipt'
);
?>
<div class="flat_area">
    <div class="main-title no-border clearfix">
        <h1 class="float-left">New Receipt</h1>
    </div>
    <div id="ps-payment-create" class=" relative">
		<?php
		$this->renderPartial('_form', array(
			'agency' => $agency,
			'receipt' => $receipt,
			'invoice_id' => $invoice_id,
			'dataProvider' => $dataProvider,
		));
		?>
    </div>
</div>
<?php
echo $this->renderPartial('_addContact', array(
	'contact' => $newContact
));
?>
